package com.company.cloud.product.modules.api.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
public class ProductSkuItem {

    @ApiModelProperty(value = "商品编号")
    private String productNo;

    @ApiModelProperty(value = "SKU商品号")
    private String skuNo;

    @ApiModelProperty(value = "主SKU商品号")
    private String mainSkuNo;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "规格值")
    private List<ProductSkuSpecificationItem> items;

    @ApiModelProperty(value = "成本价")
    private BigDecimal cost;

    @ApiModelProperty(value = "市场价")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "销售价")
    private BigDecimal price;

    @ApiModelProperty(value = "是否默认")
    private String isDefault;

    @ApiModelProperty(value = "兑换积分")
    private Integer exchangePoint;

    @ApiModelProperty(value = "赠送积分")
    private Integer rewardPoint;

    @ApiModelProperty(value = "库存数量")
    private BigDecimal stockNum;

    @ApiModelProperty(value = "冻结数量")
    private BigDecimal freezeNum;


}
